using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace OperatorSearch
{
    partial class FindRoomForGuests : System.Web.UI.Page
    {
        //protected System.Web.UI.WebControls.RadioButton RadioButtonPrice;
        //protected System.Web.UI.WebControls.DropDownList DropDownListPrice;
        //protected System.Web.UI.WebControls.RadioButton RadioButtonBeds;
        //protected System.Web.UI.WebControls.DropDownList DropDownListBeds;
        //protected System.Web.UI.WebControls.CheckBox CheckBoxFromDate;
        //protected System.Web.UI.WebControls.CheckBox CheckBoxToDate;
        //protected System.Web.UI.WebControls.Calendar Calendar1;
        //protected System.Web.UI.WebControls.Calendar Calendar2;
        //protected System.Web.UI.WebControls.Label LabelCriteria;
        //protected System.Web.UI.WebControls.Label LabelResult;
        //protected System.Web.UI.WebControls.DataGrid DataGridSearchResult;
        //protected System.Web.UI.WebControls.Label LabelCommonPrice;
        //protected System.Web.UI.WebControls.Label LabelPrice;
        //protected System.Web.UI.WebControls.DataGrid DataGrid1;
        //protected System.Web.UI.WebControls.Label Label1;
        //protected System.Web.UI.WebControls.Button ButtonContinue;
        //protected System.Web.UI.WebControls.Button ButtonSearch;

        //private string dropDownListDefaultValue;

        private void Page_Load(object sender, System.EventArgs e)
        {
            // Put user code to initialize the page here
        }

        #region Web Form Designer generated code
        override protected void OnInit(EventArgs e)
        {
            //
            // CODEGEN: This call is required by the ASP.NET Web Form Designer.
            //
            InitializeComponent();
            base.OnInit(e);
        }

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.ButtonSearch.Click += new System.EventHandler(this.ButtonSearch_Click);
            this.ButtonContinue.Click += new System.EventHandler(this.ButtonContinue_Click);
            this.Load += new System.EventHandler(this.Page_Load);

        }
        #endregion

        //		private void DataGridSearchResult_SelectedIndexChanged(object sender, System.EventArgs e)
        //		{
        //			 
        //		}

        private void ButtonSearch_Click(object sender, System.EventArgs e)
        {
            // Searches by chosen criteria
        }

        private void ButtonContinue_Click(object sender, System.EventArgs e)
        {
            // Remember chosen rooms and go to page GettingGuests.aspx
        }

        private void CompareDates()
        {
            //if (CalendarFromDate.SelectedDate.DayOfYear - CalendarToDate.SelectedDate.DayOfYear > 0)
            //{ 
            //    // show a message that it is not a valid period of time
            //}
        }

        #region Properties

        public string DropDownListDefaultValue
        {
            get { return "---"; }
        }

        #endregion
    }
}

